package edu.scau.cxq.gp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author CXQ
 * @since 2022-02-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_inventory_alert")
public class InventoryAlert implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "alert_id", type = IdType.AUTO)
    private Long alertId;

    @TableField("ware_id")
    private Long wareId;

    @TableField("goods_id")
    private Long goodsId;

    @TableField("goods_price")
    private Double goodsPrice;

    @TableField("goods_count")
    private Integer goodsCount;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("threshold")
    private Integer threshold;


}
